// MainMasSel.cpp : implementation file
//

#include "stdafx.h"
#include "VolDia.h"
#include "MainMasSel.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMainMasSel dialog


CMainMasSel::CMainMasSel(CWnd* pParent /*=NULL*/)
	: CDialog(CMainMasSel::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMainMasSel)
	//}}AFX_DATA_INIT
}


void CMainMasSel::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMainMasSel)
	DDX_Control(pDX, IDC_MAST, m_Mast);
	DDX_Control(pDX, IDC_MOUNTED, m_Mounted);
	DDX_Control(pDX, IDC_WATER, m_Water);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMainMasSel, CDialog)
	//{{AFX_MSG_MAP(CMainMasSel)
	ON_EN_SETFOCUS(IDC_MAST, OnSetfocusMast)
	ON_EN_SETFOCUS(IDC_WATER, OnSetfocusWater)
	ON_EN_SETFOCUS(IDC_MOUNTED, OnSetfocusMounted)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMainMasSel message handlers


BOOL CMainMasSel::OnInitDialog() 
{
	CDialog::OnInitDialog();
	

	//m_Mast.SetReadOnly(true);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CMainMasSel::OnSetfocusMast() 
{
	SetFocus();
}

void CMainMasSel::OnSetfocusWater() 
{
	SetFocus();
}

void CMainMasSel::OnSetfocusMounted() 
{
	SetFocus();
	
}
